package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TBodyCkMapper;
import com.hu.zhcc.shiro.entity.lgx.TBodyCk;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TBodyCkServiceImpl implements TBodyCkService {
    @Autowired
    TBodyCkMapper tBodyCkMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tBodyCkMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TBodyCk record) {
        return tBodyCkMapper.insert(record);
    }

    @Override
    public int insertSelective(TBodyCk record) {
        return tBodyCkMapper.insertSelective(record);
    }

    @Override
    public TBodyCk selectByPrimaryKey(Integer id) {
        return tBodyCkMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TBodyCk record) {
        return tBodyCkMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TBodyCk record) {
        return tBodyCkMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TBodyCk> tbodyckid(int id) {
        return tBodyCkMapper.tbodyckid(id);
    }

    @Override
    public Integer queryCountByMemberId(Integer memberId) {
        return tBodyCkMapper.queryCountByMemberId(memberId);
    }
}
